﻿namespace Risesun.Web
{
    public class ViewAction : IHttpAction
    {
        public HttpStatus Status { get; set; }

        public string Message { get; set; }

        public string Visit()
        {
            return Status == HttpStatus.Success ? "Hello Controller!" : Message;
        }
    }
}